package com.wpw.dream.thread;

import java.util.Comparator;
import java.util.concurrent.PriorityBlockingQueue;

public class PriorityBlockingQueueTest {
	public static void main(String[] args) {
		PriorityBlockingQueue<PriorityD> q = new PriorityBlockingQueue<>();
		PriorityBlockingQueue<PriorityD> q1 = new PriorityBlockingQueue<>(20, new Comparator<PriorityD>() {

			@Override
			public int compare(PriorityD o1, PriorityD o2) {
				return 0;
			}
		});
		q.add(new PriorityD());
	}
}

class PriorityD {
	
}